package com.xframe.domain.role;

import com.xframe.domain.BaseModel;
import com.xframe.domain.sys.SysModelAct;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xframe.xdal.core.DataBaseAccess;
import com.xframe.xdal.core.annotation.*;
import com.xframe.xdal.core.constant.AutoFillType;
import com.xframe.xdal.core.domain.SysBaseEntity;
import com.xframe.xdal.core.model.ConditionValue;
import com.xframe.xdal.core.model.FindOptions;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.*;

/**
 * @Description: 按钮清单
 * @ClassName: SysButton
 * @Author: xufeng
 * @CreateTime: 2023/4/4 16:22
 **/
@Data
@Accessors(chain=true)
@XTable(value = "SYS_BUTTON", label = "按钮清单")
@XSelectItem(keyName = "buttonId",codeName = "buttonCode",textName = "buttonDesc")
public class SysButton extends BaseModel {

    /**
     * 按钮ID
     */
    @AutoFill(AutoFillType.Snowflake)
    @XColumn(name = "BUTTON_ID", primaryKeyFlag = true)
    private Long buttonId;

    /**
     * 按钮编码
     */
    @XColumn(name = "button_code", uniqueFlag = true,desc = "按钮编码",length = 50)
    private String buttonCode;

    /**
     * 功能描述
     */
    @XColumn(name = "button_desc",desc = "功能描述",length = 50)
    private String buttonDesc;


}
